<?php

namespace App\models;

use Illuminate\Database\Eloquent\Model;

class Cart extends Model
{
    protected $guarded = [] ;
    public function goods()
    {
        return $this->belongsTo(Goods::class,'goods_id','id');
    }
    public function bale()
    {
        return $this->belongsTo(Bale::class,'bale_id','id');
    }
}
